<?php

use yii\db\Migration;

/**
 * Handles adding columns to table `{{%project_smi}}`.
 */
class m230620_055740_add_source_name_column_to_project_smi_table extends Migration
{
    /**
     * {@inheritdoc}
     */
    public function safeUp()
    {
        $this->addColumn('{{%project_smi}}', 'source_name', $this->string(512));
    }

    /**
     * {@inheritdoc}
     */
    public function safeDown()
    {
        $this->dropColumn('{{%project_smi}}', 'source_name');
    }
}
